package it.uniba.di.mas.jpnde.core;

import jade.util.leap.Serializable;

public class Arch implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static final String XMLNODE="arc";
	public static final String XMLNODE_PLACE_ID="place-id";
	public static final String XMLNODE_WEIGHT="weight";
	
	private String placeId="";
	private int weight=1;
	public String getPlaceId() {
		return placeId;
	}
	public void setPlaceId(String placeId) {
		this.placeId = placeId;
	}
	public int getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
		this.weight = weight;
	}
	@Override
	public String toString() {
		return "Arch [placeId=" + placeId + ", weight=" + weight + "]";
	}
	
}
